package cn.xz.dao;

import cn.xz.entity.Happy;

import java.sql.SQLException;
import java.util.List;

public interface IHappyDao {
    int addHappy(Happy happy) throws SQLException;
    int deleteHappy(int id) throws SQLException;
    int updateHappy(Happy happy);
    List<Happy> getAll();
    Happy getHappyId(int id);
}
